/*
 * @Author: zwz
 * @Date: 2023-05-27 13:28:35
 * @LastEditors: zwz
 * @LastEditTime: 2023-05-28 16:37:45
 * @Description: 中间件
 */
// eslint-disable-next-line no-unused-vars
// module.exports = option => {
//   return async (ctx, next) => {
//     if (ctx.session.counter) {
//       ctx.session.counter++;
//     } else {
//       ctx.session.counter = 1;
//     }
//     await next();
//   };
// };
